package Plate;

/**
 * 扑克牌
 */
public class Card {
    /**
     * 花色（黑桃、红心、梅花、方块，♠、♥、♣、♦）
     */
    private String type;
    /**
     * 点数
     */
    private String point;
    private int pointValue;
    private int typValue;
    private String imgvalue;

    public Card(String imgvalue) {
        this.imgvalue = imgvalue;
    }

    public String getImgvalue() {
        return imgvalue;
    }

    public void setImgvalue(String imgvalue) {
        this.imgvalue = imgvalue;
    }

    public Card(String type, String point, int pointValue, int typValue) {
        this.type = type;
        this.point = point;
        this.pointValue = pointValue;
        this.typValue = typValue;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public int getPointValue() {
        return pointValue;
    }

    public void setPointValue(int pointValue) {
        this.pointValue = pointValue;
    }

    public int getTypValue() {
        return typValue;
    }

    public void setTypValue(int typValue) {
        this.typValue = typValue;
    }

    @Override
    public String toString() {
        return type + point;
    }


}
